package com.gc.ykqx.service.entity;

import java.util.List;

/**
 * Created by wsd on 2017/5/9.
 */

public class Fore {
    /**
     * returnCode : 0
     * returnMessage : Query Succeed
     * rowCount : 1
     * colCount : 2
     * DS : [{"FILE_Text":"姘稿悍甯傛皵璞\u2033彴鍙戝竷鐨勫ぉ姘旈鎶ュ彂甯冩椂闂达細2017骞�10鏈�13鏃�16鏃跺ぉ姘旈鎶ワ細浠婂ぉ鍌嶆櫄鍒板閲岄槾澶╋紝灞\u20ac閮ㄦ湁灏忛洦锛涙槑澶╅槾鏈夋椂鏈夐洦锛涘悗澶╅槾鏈変腑闆ㄣ\u20ac傞鐨勯鎶ワ細鍋忎笢椋�2锝�3绾ф皵娓╅鎶ワ細鏄庡ぉ鏃╂櫒鏈\u20ac浣庢俯搴�17锝�18鈩冿紝鏄庡ぉ鐧藉ぉ鏈\u20ac楂樻俯搴�19锝�20鈩冮鎶ュ憳浠ｅ彿锛�24鍙�","FILE_Type":"2"}]
     */

    private int returnCode;
    private String returnMessage;
    private int rowCount;
    private int colCount;
    private List<DSBean> DS;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getReturnMessage() {
        return returnMessage;
    }

    public void setReturnMessage(String returnMessage) {
        this.returnMessage = returnMessage;
    }

    public int getRowCount() {
        return rowCount;
    }

    public void setRowCount(int rowCount) {
        this.rowCount = rowCount;
    }

    public int getColCount() {
        return colCount;
    }

    public void setColCount(int colCount) {
        this.colCount = colCount;
    }

    public List<DSBean> getDS() {
        return DS;
    }

    public void setDS(List<DSBean> DS) {
        this.DS = DS;
    }

    public static class DSBean {
        /**
         * FILE_Text : 姘稿悍甯傛皵璞″彴鍙戝竷鐨勫ぉ姘旈鎶ュ彂甯冩椂闂达細2017骞�10鏈�13鏃�16鏃跺ぉ姘旈鎶ワ細浠婂ぉ鍌嶆櫄鍒板閲岄槾澶╋紝灞€閮ㄦ湁灏忛洦锛涙槑澶╅槾鏈夋椂鏈夐洦锛涘悗澶╅槾鏈変腑闆ㄣ€傞鐨勯鎶ワ細鍋忎笢椋�2锝�3绾ф皵娓╅鎶ワ細鏄庡ぉ鏃╂櫒鏈€浣庢俯搴�17锝�18鈩冿紝鏄庡ぉ鐧藉ぉ鏈€楂樻俯搴�19锝�20鈩冮鎶ュ憳浠ｅ彿锛�24鍙�
         * FILE_Type : 2
         */

        private String FILE_Text;
        private String FILE_Type;

        public String getFILE_Text() {
            return FILE_Text;
        }

        public void setFILE_Text(String FILE_Text) {
            this.FILE_Text = FILE_Text;
        }

        public String getFILE_Type() {
            return FILE_Type;
        }

        public void setFILE_Type(String FILE_Type) {
            this.FILE_Type = FILE_Type;
        }
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        for (Fore.DSBean ds : DS) {
            sb.append("预报内容:").append(ds.FILE_Type + " ").append("预报类型:").append(ds.FILE_Text + " ").append("/n");
        }
        return sb.toString();
    }
}
